package s.k.gui.webtest.constvalue;

import java.io.UnsupportedEncodingException;
import java.util.Properties;

import s.k.gui.webtest.basetools.SKPropertiesTool;

public class ConfigConstValue {

	/** �����ļ� */
	public static String SKCONFFILE = ClassLoader.getSystemResource(
			"SKConf.properties").getPath();
	/** ��־�ļ����õ�ַ */
	public static String LOGCONFIG = ClassLoader.getSystemResource(
			"log4j.properties").getPath();

	static {

		try {

			SKCONFFILE = java.net.URLDecoder.decode(SKCONFFILE, "utf8");

			LOGCONFIG = java.net.URLDecoder.decode(LOGCONFIG, "utf8");

		} catch (UnsupportedEncodingException e) {

			e.printStackTrace();

		}

	}
	/** Ĭ�ϵȴ�һ�ε�ʱ�� */
	public static int defaulwaitMiliSeconds = 50;
	/** Ĭ�ϵȴ����,Ĭ�ϵȴ�һ��Ԫ�ؼ���5�� */
	public static int defaultWaitCount = 1;
	/** �ȴ���ش���,Ĭ�ϵȴ����30s */
	public static int waitCount = 600;
	/** Ĭ�ϵȴ�ҳ�����ʱ��,Ĭ��10s */
	public static int waitPageLoadTime = 10000;
	{

		Properties properties = SKPropertiesTool.getPropertyInfo(SKCONFFILE);

		defaulwaitMiliSeconds = SKPropertiesTool.getInt(properties,
				"defaulwaitMiliSeconds");

		defaultWaitCount = SKPropertiesTool.getInt(properties,
				"defaultWaitCount");

		waitCount = SKPropertiesTool.getInt(properties, "waitCount");

		waitPageLoadTime = SKPropertiesTool.getInt(properties,
				"waitPageLoadTime");
	}
	/** ����ָ����ܵ����Դ·��ǰ׺���ã��Ƿ�Ҫ��ӵ�ǰ�Ĳ��������ڰ�İ�·�� */

	public static final String DATA_SOURCE_PACKAGE_PREFIX_USEABLE = "";
	/** �趨������Դ·����ǰ׺,�����û�����Ϊ""������Ϊû��ǰ׺����������ǰ׺�� */

	public static final String DATA_SOURCE_PREFIX_VALUE = "";
	/** ���õ����е�modules�Ĺؼ��� */

	public static final String SK_MODULES = "";
	/** ����module�����ùؼ��� */

	public static final String SK_MODULE = "";
	/** ָʾ����module�Ƿ񱻼����key */

	public static final String ENABLED = ".enable";

	public static final String SK_MODULE_CLASS_PATH = "";
}
